using System;

namespace Domain.DTOs.Quality
{
    /// <summary>
    /// 质检报工列表DTO
    /// </summary>
    public class QualityReportDto
    {
        /// <summary>
        /// 质检工单ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 工序编码
        /// </summary>
        public string Processcode { get; set; }

        /// <summary>
        /// 工序名称
        /// </summary>
        public string Processname { get; set; }

        /// <summary>
        /// 工艺流程（工序描述）
        /// </summary>
        public string Processdescription { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public string Kahuna { get; set; }

        /// <summary>
        /// 所在部门
        /// </summary>
        public string Departmentname { get; set; }

        /// <summary>
        /// 报工时间
        /// </summary>
        public DateTime Reportingtime { get; set; }

        /// <summary>
        /// 完工数量
        /// </summary>
        public int Completenum { get; set; }

        /// <summary>
        /// 生产人员（报工人员）
        /// </summary>
        public string ProductionStaff { get; set; }

        /// <summary>
        /// 负责部门（生产人员所在部门）
        /// </summary>
        public string ResponsibleDepartment { get; set; }

        /// <summary>
        /// 报工人员（同生产人员）
        /// </summary>
        public string ReportingStaff { get; set; }

        /// <summary>
        /// 质检工单编号
        /// </summary>
        public string Quaworkcode { get; set; }

        /// <summary>
        /// 质检工单名称
        /// </summary>
        public string Quaworkname { get; set; }

        /// <summary>
        /// 合格数量
        /// </summary>
        public int Qualifiednum { get; set; }

        /// <summary>
        /// 不良数量
        /// </summary>
        public int Defectivenum { get; set; }

        /// <summary>
        /// 状态 0：未完成  1：已完成
        /// </summary>
        public int Status { get; set; }
    }
}
